package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.dmsdbj.itoo.tool.business.ItooResult;
import com.tfjybj.itoo.exam.entity.TeacherCourseTeachClassEntity;
import com.tfjybj.itoo.exam.model.SelectTeacherTeachClassModel;
import com.tfjybj.itoo.exam.model.TeacherCourseTeachClassModel;
import com.tfjybj.itoo.exam.model.TemporaryClassStudentModel;

import java.util.List;
import java.util.Map;


/**
 * TeacherCourseTeachClassService接口
 * teacherCourseTeachClass表
 *
 * @author 郭满亮
 * @version 2.0.0
 * @since 2.0.0 2019-02-01 19:19:48
 */
public interface TeacherCourseTeachClassService extends BaseServicePlus<TeacherCourseTeachClassEntity> {

    ItooResult saveTeacher(TemporaryClassStudentModel temporaryClassStudentModels);

    ItooResult saveTeachClass(TemporaryClassStudentModel temporaryClassStudentModels);

    ItooResult saveStudent(TemporaryClassStudentModel temporaryClassStudentModels);

    ItooResult saveAddStudent(String studentCode, String keyText);

    ItooResult saveRemoveStudent(TemporaryClassStudentModel studentSet);

    List<SelectTeacherTeachClassModel> getTeachClass(String teacherId, String courseId);

    /**
     * 根据教师ID查询出课程
     * 王华伟--2019年5月4日09:44:00
     * @param param
     * @return
     */
    List<TeacherCourseTeachClassModel> selectStudentyByTid(Map param);
}
